﻿//using System;
//using System.Collections.Generic;
//using System.Collections.Specialized;
//using System.Text;

//namespace Xf.MvcTag.UIExt.DataTables
//{
//    /// <summary>
//    /// Contains datatables parameters sent from client side when POST method is used.
//    /// </summary>
//    /// <remarks>
//    /// Original class code is taken from
//    /// https://datatables.net/forums/discussion/40690/sample-implementation-of-serverside-processing-in-c-mvc-ef-with-paging-sorting-searching
//    /// </remarks>
//    //Start - JSon class sent from Datatables


//    public class DataTableAjaxPostModel
//    {
//        // properties are not capital due to json mapping
//        public int draw { get; set; }
//        public int start { get; set; }
//        public int length { get; set; }
//        public List<Column> columns { get; set; }
//        public Search search { get; set; }
//        public List<Order> order { get; set; }
//    }

//    public class Column
//    {
//        public string data { get; set; }
//        public string name { get; set; }
//        public bool searchable { get; set; }
//        public bool orderable { get; set; }
//        public Search search { get; set; }
//    }

//    public class Search
//    {
//        public string value { get; set; }
//        public string regex { get; set; }
//    }

//    public class Order
//    {
//        public int column { get; set; }
//        public string dir { get; set; }
//    }
//    /// End- JSon class sent from Datatables
//}
